from mc.types import char_ptr, Pointer
from mcpy.decorators import main
from gtest import RUN_ALL_TESTS
from gtest.testing import InitGoogleTest


@main()
def main_(argc: int, argv: Pointer[char_ptr]) -> int:
    InitGoogleTest(argc, argv)
    return RUN_ALL_TESTS()
